import { navbar } from "vuepress-theme-hope";

export const enNavbar = navbar([
  "/",
  { text: "介绍", icon: "discover", link: "/demo/" },
  {
    text: "文章",
    icon: "edit",
    prefix: "/posts/",
    children: [
      {
        text:"前端开发",
        icon:"edit",
        prefix:"web/",
        children:[
          {
            text:"javascript",
            link:"javascript",
            children:[
              
            ]
          },
          {
            text:"HTML",
            link:"html",
            children:[
              
            ]
          },
          {
            text:"css",
            link:"css",
            children:[
              
            ]
          },
          {
            text:"vue",
            link:"vue",
            children:[]
          },
          {
            text:"react",
            link:"react",
            children:[]
          }
        ]
      },
      {
        text:"后端开发",
        icon:"edit",
        prefix:"server/",
        children:[{
          text:"node",
          link:"node",
          children:[]
        },
        {
          text:"php",
          link:"php",
          children:[]
        },
        {
          text:"java",
          link:"java",
          children:[]
        }]
      }
    ],
  },
  {
    text: "V2 Docs",
    icon: "note",
    link: "https://theme-hope.vuejs.press/",
  },
]);
